<?php if (!defined('THINK_PATH')) exit();?>
		<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title> <?php if(($category['title']) != ""): echo ($category["title"]); ?>--<?php endif; ?>
    <?php echo C('WEB_SITE_TITLE');?></title>
	<meta name="description" content="<?php echo C('WEB_SITE_DESCRIPTION');?>" />
	<meta name="keywords" content="<?php echo C('WEB_SITE_KEYWORD');?>" /> 
      <link rel="shortcut  icon" type="image/x-icon" href="<?php echo get_cover(C('BROWSERID'),'path');?>" media="screen"  />
          <script language="javascript" src="/Public/home/js/jquery-1.7.2.min.js"></script>
	<link rel="stylesheet" href="/Public/home/css/base.css" />
</head>
<body>
	<!-- 公共头部 -->
	<div class="d-public-header">
    <div class="d-public-header-top">
			<div class="d-public-header-top-center"> 
				<div class="d-public-header-left">今天是：<span class="d-public-header-left-date"  id=localtime>
<script type="text/javascript">
function showLocale(objD)
{
	var str,colorhead,colorfoot;
	var yy = objD.getYear();
	if(yy<1900) yy = yy+1900;
	var MM = objD.getMonth()+1;
	if(MM<10) MM = '0' + MM;
	var dd = objD.getDate();
	if(dd<10) dd = '0' + dd;
	var hh = objD.getHours();
	if(hh<10) hh = '0' + hh;
	var mm = objD.getMinutes();
	if(mm<10) mm = '0' + mm;
	var ss = objD.getSeconds();
	if(ss<10) ss = '0' + ss;
	var ww = objD.getDay();
	if  ( ww==0 )  colorhead="<font color=\"#000\">";
	if  ( ww > 0 && ww < 6 )  colorhead="<font color=\"#000\">";
	if  ( ww==6 )  colorhead="<font color=\"#000\">";
	if  (ww==0)  ww="星期日";
	if  (ww==1)  ww="星期一";
	if  (ww==2)  ww="星期二";
	if  (ww==3)  ww="星期三";
	if  (ww==4)  ww="星期四";
	if  (ww==5)  ww="星期五";
	if  (ww==6)  ww="星期六";
	colorfoot="</font>"
	str = colorhead + yy + "-" + MM + "-" + dd + " " + hh + ":" + mm + ":" + ss + "  " + ww + colorfoot;
	return(str);
}
function tick()
{
	var today;
	today = new Date();
	document.getElementById("localtime").innerHTML = showLocale(today);
	window.setTimeout("tick()", 1000);
}
tick();
</script></span></div>
				<span class="d-public-header-right">
					<ul>
                    <?php if(!is_login()){ ?>
						<li><a href="/User/Public/login.html"><img src="/Public/home/images/d-public-header-right-image1.jpg" /><span>登录</span></a></li>
                        <?php }else{ ?>
                        <li><a href="/User/Config/index.html"><span>会员管理</span></a></li>
                        <?php } ?>
						<li><a href="/User/Public/register.html"><img src="/Public/home/images/d-public-header-right-image2.jpg" /><span>注册</span></a></li>
						<li><a href="/"><img src="/Public/home/images/d-public-header-right-image3.jpg" /><span>返回首页</span></a></li>
					</ul>
				</span>
			</div>
		</div>
		<div class="d-public-header-center">
			<div class="d-public-header-center-center">
				<div class="index-logo"><img src="<?php echo get_cover(C('LOGO'),'path');?>" width="465" height="98"/></div>
				<div class="index-input">
					<div class="index-input-text">站内搜索：</div>
						<div class="index-input-frame">
		   					<form action="<?php echo U('Article/search/');?>" method="get">
		   						<input name="search" type="text" class="index-input-frame-1" id="search" />
								<input class="index-input-frame-2" type="submit" value="" />
		   					</form>
						</div>
				</div>
				
			</div>
		</div>
	
		<div class="d-public-nav22">
			<div class="d-public-nav-122">
				<ul >
							<?php $_result = M("Category")->order("sort")->where("display=1 AND status=1 AND groups='top'")->select();if($_result):$i=0;foreach($_result as $key=>$cate): ++$i;$mod = ($i % 2 );if($cate):?><li><a href="<?php echo (caurl($cate)); ?>"><?php echo ($cate["title"]); ?></a></li><?php endif; endforeach; endif;?>
						</ul>
			</div>
			
		</div>
	</div>

<div class="sub">
    <div class="subzuo">
     <div class="biaoti">
            <div class="biaoti1"><a>会员登录</a></div>
            <div class="biaoti2">当前位置：<?php echo get_posation($category['id']);?>会员登录</div>
        	<div class="clearfix"></div>
        </div>
        
        	
         
			<div class="personal_z">
			<div class="step1"></div>
            <div class="steptxt">
			<div class="tli font_blue">1.验证账号信息</div>
			<div class="tli">2.设置新密码</div>
			<div class="tli">3.找回成功</div>
			<div class="clear"></div>
		</div>
		</div>
			<div style="clear: both;"></div>
		
		</div>


<script type="text/javascript">
	$(document)
		.ajaxStart(function(){
			
			$("button:submit").addClass("am-btn-loading").attr("disabled", true).text('loading...');
		})
		.ajaxStop(function(){
			
			$("button:submit").removeClass("am-btn-loading").attr("disabled", false).text('注 册');
		});


/*	$("form").submit(function(){
		var self = $(this);
		$.post(self.attr("action"), self.serialize(), success, "json");
		return false;

		function success(data){
			if(data.status){
				window.location.href = data.url;
			} else {
				self.find(".Validform_checktip").addClass('am-alert').text(data.info);
				setTimeout(function(){
					self.find(".Validform_checktip").removeClass('am-alert').text('');
				},3000);
				//刷新验证码
				$(".reloadverify").click();
			}
		}
	});*/

	$(function(){
		var verifyimg = $(".verifyimg").attr("src");
        $(".reloadverify").click(function(){
            if( verifyimg.indexOf('?')>0){
                $(".verifyimg").attr("src", verifyimg+'&random='+Math.random());
            }else{
                $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
            }
        });
	});
</script>

          
        </div>
    </div>
    <?php if(!is_login()){ ?>
     <div class="subyou">

<?php if($category['topid']) { if($category['child']){ $pid=$category['topid']; }else if($category['topid']!=$category['id']){ $pid=$category['topid']; } } ?>
     <?php if($pid){ ?>
<div class="sub_left">
  <?php $cate = M("Category")->find($pid);if($cate):?><div class="sub_left_bt"><?php echo ($cate["title"]); ?></div><?php endif;?>
<div class="sub_left_nr">
<ul>
<?php $_result = M("Category")->order("sort")->where("display=1 AND status=1 AND pid=$pid")->select();if($_result):$i=0;foreach($_result as $key=>$cate): ++$i;$mod = ($i % 2 );if($cate):?><li><a href="<?php echo (caurl($cate)); ?>"><?php echo ($cate["title"]); ?></a></li><?php endif; endforeach; endif;?>
</ul>
</div>
</div>

 <?php } ?>
    
    <div class="youzuixingonggao">
      <?php $cate = M("Category")->find(1158);if($cate):?><div class="zuixingonggaowenzi"><a><?php echo ($cate["title"]); ?></a>
    <div class="gengduowenzi"><a href="<?php echo (caurl($cate)); ?>">更多</a></div><?php endif;?>
 
    </a></div>
 <div class="aboutxinwenliebiao">
  <ul>
  
  <?php $__CATE__ = D('Category')->getChildrenId(1158);$__POSLIST__ = D('Document')->position(1,$__CATE__ ,9,true,""); if(is_array($__POSLIST__)): $i = 0; $__LIST__ = $__POSLIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$article): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Article/detail?id='.$article['id']);?>">▪ <?php echo msubstr($article['title'],0,15);?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

      
     </ul>

 </div>
       <?php $cate = M("Category")->find(1157);if($cate):?><div class="abouttubiao1"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 <?php $cate = M("Category")->find(1159);if($cate):?><div class="abouttubiao2"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 
 <?php $cate = M("Category")->find(1160);if($cate):?><div class="abouttubiao3"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
 
 <?php $cate = M("Category")->find(1161);if($cate):?><div class="abouttubiao4"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
    
    </div>
    
    </div>
    <?php }else{ ?>
     <div class="subyou">
 <?php if(!is_login()){ ?>
  <?php }else{ ?>
<div class="sub_left">

<div class="sub_left_bt">个人资料</div>

<div class="sub_left_nr">
<ul>

<li><a href="/User/Config/index.html">个人资料</a></li>
<li><a href="/User/Config/changepwd.html">密码修改</a></li>
<li><a href="/User/Config/company.html">企业信息</a></li>

</ul>
</div>
<div class="sub_left_bt">会员权限</div>

<div class="sub_left_nr">
<ul>
<li><a href="/User/Config/gqxxfb.html">发布供求信息</a></li>
<li><a href="<?php echo U('/User/Config/supply',array('category'=>1166));?>">管理供求信息</a></li>
<li><a href="/User/Config/cyxxfb.html">发布车源信息</a></li>
<li><a href="<?php echo U('/User/Config/vehicle',array('category'=>1164));?>">管理车源信息</a></li>
<li><a href="/User/Config/ccxxfb.html">发布仓储信息</a></li>
<li><a href="<?php echo U('/User/Config/storage',array('category'=>1165));?>">管理仓储信息</a></li>

</ul>
</div>
<div class="sub_left_bt"><a href="/User/public/logout.html" style="color: #fff;">退出登录</a></div>

</div>

  <?php } ?>



<div class="youzuixingonggao">
      <?php $cate = M("Category")->find(1158);if($cate):?><div class="zuixingonggaowenzi"><a><?php echo ($cate["title"]); ?></a>
    <div class="gengduowenzi"><a href="<?php echo (caurl($cate)); ?>">更多</a></div><?php endif;?>
 
    </a></div>
 <div class="aboutxinwenliebiao">
  <ul>
  
  <?php $__CATE__ = D('Category')->getChildrenId(1158);$__POSLIST__ = D('Document')->position(1,$__CATE__ ,9,true,""); if(is_array($__POSLIST__)): $i = 0; $__LIST__ = $__POSLIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$article): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Article/detail?id='.$article['id']);?>">▪ <?php echo msubstr($article['title'],0,15);?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

      
     </ul>

 </div>
 
 
 
 
       <?php $cate = M("Category")->find(1157);if($cate):?><div class="abouttubiao1"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 <?php $cate = M("Category")->find(1159);if($cate):?><div class="abouttubiao2"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 
 <?php $cate = M("Category")->find(1160);if($cate):?><div class="abouttubiao3"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
 
 <?php $cate = M("Category")->find(1161);if($cate):?><div class="abouttubiao4"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
    
    </div>
      
    

 </div>
    
  
    <?php } ?>
    
    
    <div class="clearfix"></div>
</div>

	<!-- 公共底部 -->
	<div class="index-footer">

		<?php echo W('Common/Ad/run',array('link'));?>
		<div class="index-footer-bottom">
			<div class="index-footer-bottom-top">
            
             <?php $cate = M("Category")->find(1163);if($cate): echo ($cate["description"]); endif;?>
                
				地址：<?php echo C('ADDRESS');?> 邮编：<?php echo C('CODE');?> 电话：<?php echo C('PHONE');?> <?php echo C('COPYRIGHT');?>  技术支持：<a href="http://www.jlccsn.com/" target="_blank" title="长春网站建设找南北科技" style="color:#fff;">南北科技</a> <br /><?php echo C('WEB_SITE_ICP');?><a href="<?php echo C('PUBLICLINK');?>" target="_blank"  style="margin-left:5px; margin-right:5px; color:#fff;"><img src="/Public/images/ba.png"><?php echo C('PUBLICICP');?></a><img src="/Public/images/gs.png" style="margin-left:5px; margin-right:5px;"><?php echo C('STATSCODE');?><br />
			</div>
			<div class="index-footer-bottom-bottom">
				<ul>
                   <?php $friendlink = M()->query("select * from __TABLE__friendlink where sorts=1");if($friendlink): endif;?>
                 <?php if(is_array($friendlink)): $i = 0; $__LIST__ = $friendlink;if( count($__LIST__)==0 ) : echo "$result" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($data["url"]); ?>" target="_blank">&nbsp;<?php echo ($data["title"]); ?>&nbsp;|</a></li><?php endforeach; endif; else: echo "$result" ;endif; ?>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>